From: | thor |
Date: | 24 May 2000 at 00:35:59 |
Subject: | Re: Changing tasks... |
The 23-Maj-00, Daniel Dundelski wrote:
> How to freez this task (or loop) at the time, when the programm
> screen is not active one? And unfreez it when it becoms active again???
One thing you can do is something like this:
active.l = ActiveScreen
scraddy.l=Peek.l(Addr Screen(#scrnnr))
if ( active = scraddy)
...
screen is active, do something, check for keys pressed, change
textpage etc
..
else
...
screen is not active, do a freeze, maybe a delay() etc
...
endif
Are you using the OS, or is it a Blitz-mode program? WaitEvent() and Event()
are quite nice calls. Also, remember there are a lot of gfxboard users out
there.
Well, I did a diskmag that works both for AGA and RTG. Msg me in private if
you need more information or suggestions/help about this matter.
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie